(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.errors = {
        argumentNull(argumentName) {
            let msg = `Argument ${argumentName} can not be null or empty.`;
            return new Error(msg);
        },
        propNull(propName) {
            let msg = `Prop ${propName} can not be null or empty.`;
            return new Error(msg);
        },
    };
});
